//
//  OSFriendTrendsViewController.m
//  百思不得姐
//
//  Created by gl on 16/2/22.
//  Copyright © 2016年 CoderC. All rights reserved.
//

#import "OSFriendTrendsViewController.h"
#import "OSRecommentViewController.h"
#import "OSLoginRegisterViewController.h"
@interface OSFriendTrendsViewController ()
@property (weak, nonatomic) IBOutlet UIButton *loginButton;

@end

@implementation OSFriendTrendsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.navigationItem.title = @"我的关注";
    self.view.backgroundColor = OSGlobalBg;
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImageName:@"friendsRecommentIcon" highImageName:@"friendsRecommentIcon-click" target:self action:@selector(leftButtonClick)];
    

    
}

- (void)leftButtonClick {
    
    
    OSRecommentViewController *vc = [[OSRecommentViewController alloc]init];
    
    [self.navigationController pushViewController:vc animated:YES];
    
    
    
}

- (IBAction)loginRegiester {
    
    
    OSLoginRegisterViewController *loginVc = [[OSLoginRegisterViewController alloc]init];
    
    [self presentViewController:loginVc animated:YES completion:nil];
    
    
    NSLog(@"123");
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
